
<script src="<?php echo ($this->baseUrl().'../resources/js/stat.js');?>"></script>

<form class="form-horizontal well" id="gestform">
<legend>Gestion des formations</legend>
<div class="row">
	<div class="btn-toolbar pull-right">
			 		<a class="btn btn-success" href="#result" data-toggle="modal"
		  onclick="ModalAjaxRequest('<?php echo $this->url(array('module'=>'dashbord','controller'=>'gestformation','action'=>'addformation','formname'=>'MP2L' ));?>',
 'result','fffff','sssssssssss','gestform')">Ajouter<i class="icon-check icon-white"></i></a>
	</div>
</div>

<!--div class="row">
	<div class="span6" >
		<?php echo $this->form;?>
	</div>
</div-->
<div class="row">
<table id="tablform" class="table table-bordered table-striped table-condensed table-hover">
	 <!--tr>
		  <th>Nom de la formation</th>
		  <th>Modifier</th>
		  <th>Supprimer</th>
	</tr-->
	<tr>
	<th colspan="3" style="text-align:center"><a href="#" onclick="$('#masteres').toggle();">&#9660;Mastères</a></th>
	</tr>
	<tr id="masteres" class="hide">
	<td colspan="3">
	<table style="width:100%">
	<tr>
		  <th width="60%">Nom de la formation</th>
		  <th width="20%">Modifier</th>
		  <th width="20%">Supprimer</th>
	</tr>
	 <tr>
		  <td>Mastere Professionnel en logiciels libres</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#result" data-toggle="modal"
		  onclick="ModalAjaxRequest('<?php echo $this->url(array('module'=>'dashbord','controller'=>'gestformation','action'=>'modifform','formname'=>'MP2L' ));?>',
 'result','fffff','sssssssssss','gestform')"><i class="icon-edit icon-white"></i></a></span>
 </td>
		  <td width="210px">
		  <span class="badge badge-important" title="supprimer"><a onclick="alerting('MP2L')" href="#"><i class="icon-remove icon-white"></i></a></span>
				  
				    
				     <div id="suppression" class="hide">  	        
				        <div class="alert alert-error ">
				          <b class="alert-heading">Attention !</b>
				          Vous allez supprimer la formation MP2L ! 
				           <div class="label"><a href="#">Supprimer</a></div>
				        </div>
				    </div>
				    
				  
			
		  	
	      		
	      </td>
	</tr>
	 <tr>
		  <td>Mastere Professionnel en Neurologie Nhsosksj</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#" ><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	</table>
	</td>
	</tr>
	<tr>
	<th colspan="3" style="text-align:center"><a href="#" onclick="$('#licences').toggle();">&#9660;Licences</a></th>
	</tr>
	<tr id="licences" class="hide">
	<td colspan="3">
	<table style="width:100%">
	 <tr>
		  <td>Licence Appliquée en PME</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	 <tr>
		  <td>Licence Appliquée en QSE</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	</table>
	</td>
	</tr>
	<tr>
	<th colspan="3" style="text-align:center"><a href="#" onclick="$('#certificats').toggle();">&#9660;Certificats</a></th>
	</tr>
	<tr id="certificats" class="hide">
	<td colspan="3">
	<table style="width:100%">
	 <tr>
		  <td>Ongoing Training in English</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	 <tr>
		  <td>Certificat en Informatique et Internet</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	</table>
	</td>
	</tr>
	<tr>
	<th colspan="3" style="text-align:center"><a href="#" onclick="$('#transvers').toggle();">&#9660;Formations transversales</a></th>
	</tr>
	<tr id="transvers" class="hide">
	<td colspan="3">
	<table style="width:100%">
	 <tr>
		  <td>Informatique et Internet</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	 <tr>
		  <td>Culture entrepreneuriale et création d’entreprise</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	<tr>
		  <td>Anglais</td>
		  <td><span class="badge badge-info" title="modifier"><a href="#"><i class="icon-edit icon-white"></i></a></span></td>
		  <td><span class="badge badge-important" title="supprimer"><a href="#"><i class="icon-remove icon-white"></i></a></span></td>
	</tr>
	</table>
	</td>
	</tr>
</table>		  
</div>
<div id='result' class="modal hide">
	<div class="modal-header"> <a class="close" data-dismiss="modal">×</a>
   		<h3>Modifier la formation</h3>
    </div>
    <div class="modal-body">
    <p>Le Tigre (Panthera tigris) est un mammifère carnivore de la famille des félidés...</p>
  </div>
</div>
</form>
